<?php
/**
 * This file is part of webman.
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the MIT-LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @author    walkor<walkor@workerman.net>
 * @copyright walkor<walkor@workerman.net>
 * @link      http://www.workerman.net/
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
 */

use Webman\Route;


Route::group('/hunmaTest/', function () {

    # 成功返回示例
    Route::any('ApiResponseSuccess', [hunma\test\TestController::class, 'ApiResponseSuccess']);
    # 错误返回示例
    Route::any('ApiResponseError', [hunma\test\TestController::class, 'ApiResponseError']);
    # 验证器示例
    Route::any('ValidationRules', [hunma\test\TestController::class, 'ValidationRules']);
    # 模型示例
    Route::any('SysUser', [hunma\test\TestController::class, 'SysUser']);
    # redis示例
    Route::any('Redis', [hunma\test\TestController::class, 'Redis']);
    # redis队列示例
    Route::any('RedisConsumer', [hunma\test\TestController::class, 'RedisConsumer']);
    # 工具类示例
    Route::any('IpUtil', [hunma\test\TestController::class, 'IpUtil']);
    # uuid生成唯一值
    Route::any('Uuid', [hunma\test\TestController::class, 'Uuid']);


});




